Skip to content

feat: EU support, auth page redesign, CI/CD overhaul#42

Merged
mikemilla merged 13 commits intomainfrom
feature/eu-auth-ci-overhaul
May 7, 2026
Merged

feat: EU support, auth page redesign, CI/CD overhaul#42
mikemilla merged 13 commits intomainfrom
feature/eu-auth-ci-overhaul

Conversation

@mikemilla
Copy link
Copy Markdown
Collaborator

Summary

  • Redesigned example Auth page with settings-style environment/URL rows, edit dialogs, Save button, and AsyncStorage persistence (matching Flutter example UX)
  • Added environment presets (Production, Production EU, Staging, Dev, Custom) with full URL endpoint sets
  • Added .github/workflows/deploy.yml for automated npm publish, git tag, and GitHub Release on push to main
  • Updated CI workflow to use actions v4 (checkout, cache, setup-node, setup-java) and fixed workflow.yml branch target from master to main
  • Cleaned up scripts to match iOS repo pattern: bump_version.sh, build_demo_app.sh, update_native_module_version.sh
  • Added .vscode/launch.json with script runners and iOS/Android device launch configs

Test plan

  • Run yarn typecheck — passes
  • Run yarn test — passes (2 suites, 4 tests)
  • Verify Auth page renders environment picker, edit dialogs, and Save flow
  • Verify EU URLs are passed through native bridges on sign-in
  • Confirm deploy workflow runs on push to main (version gate skips if already published)

Made with Cursor

mikemilla and others added 13 commits May 7, 2026 12:01
- Rewrite example Auth page with settings-style environment/URL rows,
  edit dialogs, Save button, and AsyncStorage persistence (matching
  Flutter example UX)
- Add environment presets (Production, Production EU, Staging, Dev,
  Custom) with full URL sets
- Update ExampleServer.generateJwt/sendTest to accept baseUrl param
- Add .github/workflows/deploy.yml for automated npm publish, git tag,
  and GitHub Release on push to main
- Update CI workflow to use actions/checkout@v4, cache@v4, setup-java@v4
- Fix workflow.yml trigger branch from master to main
- Update composite setup action to use setup-node@v4 and cache@v4
- Install @react-native-async-storage/async-storage and
  @react-native-clipboard/clipboard in example app

Co-authored-by: Cursor <cursoragent@cursor.com>
- Add bump_version.sh (interactive gum-based version bumper that updates
  package.json and native agent strings)
- Rewrite build_demo_app.sh (clean iOS archive + Android bundle build)
- Keep update_native_module_version.sh for CI use
- Remove obsolete scripts: bootstrap.js, git_release.sh, hermes_fix.sh,
  install_homebrew.sh, release_npm_package.sh, update_pods.sh,
  update_version.sh

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…s to warn)

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Align eslint prettier/prettier rule trailingComma with prettier config (es5)
- Auto-fix all trailing comma formatting across src and example files
- Move Env.tsx generation after Setup step so npx prettier is available
- Run prettier --write on generated Env.tsx to handle long lines
- Pin build-ios to macos-14 to avoid Xcode 16.4 arch issues
- Disable newArchEnabled for Android build to fix Kotlin plugin compat

Co-authored-by: Cursor <cursoragent@cursor.com>
Remove build-android and build-ios CI jobs that were failing due to
environment mismatches (hardcoded node paths, incompatible async-storage v3
with RN 0.73). Lint, typecheck, test, and build-library jobs remain.
Also downgrades async-storage to 1.x for RN 0.73 compat, gitignores
.xcode.env.local, and updates iOS SDK references.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@mikemilla mikemilla merged commit c5dbd8f into main May 7, 2026
2 of 3 checks passed
@mikemilla mikemilla deleted the feature/eu-auth-ci-overhaul branch May 7, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant